﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApiClient;
using WebApiClient.Attributes;

namespace WebApiGateway
{
    [HttpHost("http://yourgateway:5000")]
    public interface IPaymentWebApi : IHttpApi
    {
        // GET api/paymentservice/history/edisonzhou
        // Return 原始string内容
        [Microsoft.AspNetCore.Mvc.HttpGet("/api/paymentservice/history/{account}")]
        ITask<IList<string>> GetPaymentHistoryByAccountAsync(string account);
    }
}
